Skip to content

Instantly share code, notes, and snippets.

@atwellpub atwellpub/behavioral-cta-docs Secret
Created Feb 22, 2014

Embed
What would you like to do?
Instructions on how to troubleshoot Behavioral Targeting for WordPress Calls to Action
Here's what you need to know when testing users:
1. Make sure that the wp_lead_id cookie is populated with the right lead id.
You can manually set in the chrom developer tool console with this bit of code:
jQuery.cookie("wp_lead_id", put_number_id_here_sarah, { path: '/', expires: 365 });
2. Make sure that the wp_lead_list cookie is correct.
After setting the wp_lead_id cookie (which naturally sets after a submission or can be manually set with the process above ) clear the following cookies and reload the page to build updated versions of the cookies:
- wp_lead_list
- lead_session_list_check
3. After these cookies are built you should try to load the page to see if the correct behavioral is shown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.