-
-
Notifications
You must be signed in to change notification settings - Fork 19
init method is not working #5
Comments
What do you mean by not working? Exception? No data collected? |
I used Not sure if I have missed something there or I may not be calling the |
See #4 |
same issue here what i have done:
my error msg: [Vue warn]: Error in mounted hook: "TypeError: this.$analytics.fbq is not a function" pixel was find, but i cannot call from my component. did you have any advise? |
init also didn't work for me. I had to add the snippet from #4 , but I also had to init in my JS that I put in a
After that, passing in the router tracked each page view:
|
same issue Please @srchulo can you explain more about how we can use facebook pixel in a vue project, so what I did , is adding the script from #4 to my head tag in index.html file, after that I added VueFacebookPixel into my main.js |
@hanenouche I just put the code from my comment above in my script tag in head, and then did this:
And make sure to replace
With your own ID. |
I tried the following
from the main:
from the vue page:
But adding the script from Facebook Pixel initializes properly.
What's the right way of initializing through the analytics.fbq.init() method?
Cheers!
The text was updated successfully, but these errors were encountered: