• Resolved kense

    (@kense20xx)


    I read another post suggesting that posts should be created to request new integrations, and so I would like to suggest that an integration be developed for Lead Forensics.

    The tool requires a code snippet to be pasted into the head of the page (which is achieved through the Lead Forensics plugin) and then requires a second code snippet to be added so that it can be executed once cookie consent is given.

    I’ve tried to use the Script Centre to add this code as a third-party script, to be blocked until consent is given, but I’m struggling to get past the syntax errors it’s throwing up there.

    The code snippet that needs to be executed after consent is given is provided in the format:

    <script type="text/javascript" src="https://secure.lead5beat.com/js/sc/221647.js"></script>

    But the Script Centre code box seems to be adding the <script> tags around the code that’s entered into the box, meaning I’m not sure how to add that code snippet.

    If I add it elsewhere using Header Footer Code Manager, for example, Complianz also doesn’t seem to pick it up as a cookie.

    The Lead Forensics plugin is available to be installed from the WordPress plugin directory, if you want to take a look: https://www.ads-software.com/plugins/lead-forensics-roi/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @kense20xx,

    Could you attempt the following configuration in Header Footer Code Manager?

    – Set the Snippet type to JavaScript
    – Set the Location to Footer
    – As the snippet code, enter the below:

    <script type="text/plain" data-category="marketing" src="https://secure.lead5beat.com/js/sc/221647.js"></script>

    The script should be unblocked upon obtaining Marketing consent in the Cookie Banner.

    Just let me know if that works for you!
    Kind regards,
    Jarno

    Thread Starter kense

    (@kense20xx)

    Hi @jarnovos,

    Thanks for that. I would still appreciate it if consideration could be given to incorporating Lead Forensics into the plugin’s default configuration, and if the Script Centre documentation could be improved. The example that appears by default isn’t particularly helpful, and there’s no link to any help page or wiki with clear instructions about how it should be used.

    Thanks again.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Thanks for your suggestions, we will add the plug-in to our integrations, and look at the articles.

    Thread Starter kense

    (@kense20xx)

    Thanks @rogierlankhorst.

    Just for the benefit of anyone else reading this and having the same issue, the suggestion that @jarnovos didn’t seem to work consistently, so I’ve decided instead to use Google Tag Manager and follow the instructions in the below article to create a custom trigger event for cmplz_event_marketing and add the code snippet into a custom tag. See section 3 of the article.

    https://complianz.io/definitive-guide-to-tag-manager-and-complianz/

    This seems to more successfully block the code until it’s executed by accepting the Marketing preference in the cookie banner.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Integration with Lead Forensics?’ is closed to new replies.