Load script immediately after clicking Accept
-
I have installed the plugin and configured a test console.log() script to load in the <head> on the “Non-necessary cookie” page. However, after clicking the “Accept” button in the banner, nothing is logged to the console. It is necessary to reload the page (or click through to a different page) in order for the script to load.
If this was my Google Analytics tracking script, all of my first visitor tracking counts would now be incorrect by one view. This is particularly important for first time visitors who only view the first page, scroll a bit and do not continue clicking – their visits would not be tracked at all! Is there any way to get the script to load immediately upon clicking the “Accept” button?
The topic ‘Load script immediately after clicking Accept’ is closed to new replies.