The following user roles can modify external page settings:
- Administrators (with administrator access to their external websites)
- Regarding Consent Banners
- Obtaining Your Tracking ID
- Modifying the Callback Function
- Setting Onclick Event Code for Cookie Banners
- Ready to Learn More?
Regarding Consent Banners
SharpSpring landing pages have consent banners that allow visitors to provide, deny, or revoke their consent in permitting that their information be tracked by the page. This functionality does not extend to websites created outside of SharpSpring. As such, for external websites, it is imperative that you set up a function that enables or disables SharpSpring's tracking code from placing cookies depending on consent or denial of visitors. Code will need to be added to those websites in order for them to remain compliant with the GDPR.
Obtaining Your Tracking ID
To obtain the necessary tracking code information for use with consent banners on external websites, do the following:
Hold on to this value. You will need it soon.
Important: You must obtain the KOI value for the callback function to work.
Modifying the Callback Function
To modify the callback function for consent banner usage, do the following:
Setting Onclick Event Code for Cookie Banners
That said, SharpSpring will provide the general code changes you must make to this custom banner. These code changes are necessary so that SharpSpring tracking code works with it. This is done by modifying onclick events.
Once set, if the visitor clicks the Accept button, the onclick function will call the tracking script and begin tracking the visit for the duration of the session. If the visitor clicks the Deny button, the onclick function will not call the tracking script and the visitor's session will not be tracked.