Enable Duplicate Check

Enable duplicate check on your Site campaigns to check if a new lead capture is a duplicate of something previously entered.

Updated over a week ago


Duplicate check means when someone is entering their email or mobile phone number into a Site lead capture campaign, there is extra code running to:

  • Determine if the information entered is a duplicate of something already on file, and

  • Display text on the campaign to this effect.

NOTE: Duplicate email addresses must have been opted in for at least 24 hours for the error message to display.


For assistance or questions with this process, contact your CSM.

  1. In the Bluecore Platform, open the Campaigns menu.

  2. Select Site.

  3. Choose which campaign to edit. You can either edit an existing draft campaign or create an unpublished version of an active campaign.

  4. Open the campaign

  5. Go to the Message tab.

  6. Click Edit Template.

  7. Click Settings to open that panel.

  8. First, copy and paste the below CSS into the respective tab.

    CSS Code

    .bluecoreEmailCaptureDuplicateErrorEmail {
    display: none;
    #bluecoreEmailErrorContent span {
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: red;
    font-weight: bold;

  9. Then, copy and paste the below Javascript into the respective tab.

    Javascript Code

    bcQuery("[referenceid='bc72a052-89ab-4165-9c71-39998cd2e20c'] #bluecoreEmailCaptureEmail").parent().append('<div class="bluecoreEmailCaptureDuplicateErrorEmail" id="bluecoreEmailErrorDialog"><div id="bluecoreEmailErrorContent"><span aria-atomic="true" aria-live="assertive" role="alert" style="">User Already exists with the given Email Address.</span></div></div> ');

10. Copy the campaign ID from the URL and paste it into the reference ID position within the Javascript code.

  • Example: bluecore.com/admin/onsite/visualtemplateeditor/...campaignID=abc123

  • NOTE: Each campaign ID is unique - if you use a campaign ID that does not exist in your environment, you will be unable to proceed and will not receive the error message as expected.

11. Edit the error message that you want displayed by editing the text in the Javascript code accordingly. You can also customize the placement and styling of the error message by editing the CSS according to your needs.

  • Example: "This email address is already registered."

12. Click Save Template and Exit in the top-right corner. You will be redirected to the Message tab again.
13. Under Template Settings and Rules, make sure ESP Integrations is selected.

14. For the field "Who is allowed to subscribe?" select Anyone not subscribed to any list.

15. Click Apply to save these settings. Then, click Save & Continue at the bottom of the page to finalize this process.

16. Click Launch Campaign.

17. Test the campaign to ensure the error message is correctly showing for a duplicate email address.

Did this answer your question?