Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events are not being tracked #67

Closed
laius opened this issue Jul 23, 2015 · 7 comments
Closed

Events are not being tracked #67

laius opened this issue Jul 23, 2015 · 7 comments

Comments

@laius
Copy link

laius commented Jul 23, 2015

I implemented the script by adding the code (after tracker initialization) to the Google Analyticator WordPress-Plugin (https://wordpress.org/plugins/google-analyticator/). Unfortunately, the script is not sending any events. Please help :-(.

screenshot

@robflaherty
Copy link
Owner

Hi, I need the URL of your site to be able to help you diagnosis the problem.

@laius
Copy link
Author

laius commented Jul 23, 2015

Thx for the quick reply. URL is jobescape.net

@robflaherty
Copy link
Owner

Thanks. You're calling the Scroll Depth and Riveted functions correctly but I don't see the actual Scroll Depth and Riveted scripts loaded anywhere on the page.

screen shot 2015-07-23 at 4 31 46 pm

@laius
Copy link
Author

laius commented Jul 23, 2015

OK - what do I need to do to load these scripts? What am I missing?

@robflaherty
Copy link
Owner

Just like any other scripts, you have to upload them to your server and then load them before calling them, like this:

<script src="jquery.scrolldepth.min.js"></script>
<script>
jQuery(function() {
  jQuery.scrollDepth();
});
</script>

@laius
Copy link
Author

laius commented Jul 24, 2015

I guess I don't have enough code in my heart, so let me check back if I understood you correctly:

  1. I need to place the function into a .js file and upload that into the .js folder of my wordpress theme folder.

  2. I can then call the functions the same way I already am.

Am I correct?

@laius
Copy link
Author

laius commented Jul 26, 2015

Hi there. I have been wrestling with this issue for the past few days and googled my a** off, but things are still not working. Is there a guide you can point me too. One for dummies with no particular coding experience?

@laius laius mentioned this issue Jul 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants