Giter Club home page Giter Club logo

react-tag-manager's People

Contributors

tripss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-tag-manager's Issues

not supports TypeScript

not supports TypeScript

Try `npm install @types/react-tag-manager` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-tag-manager';`

Wrong document path sent to GA

Hi,
After I installed the new version an extrange behavior started: every time I go to a route different to the root, a weird document path (dp property) is sent to GA and overriding the correct one.

Step #1, navigating http://mydomain.com/
Query string sent to GA:
dl: http://mydomain.com/ (ok!)
[NO dp property is sent]

Step #2 routing to "steptwo" after user interaction:
Query string sent to GA:
dl | http://mydomain.com/steptwo (ok!)
dp | https://mydomain.com/stepfour (wtf?!)

Step #2 routing to "stepthree" after user interaction:
Query string sent to GA:
dl | http://mydomain.com/stepthree (ok!)
dp | https://mydomain.com/stepfour (wtf?!!!!)

...

The result of this behavior, is that GA is tracking only / and /stepfour.

I can't understand why is overriding the document location with an aleatory document path.
Hint #1: "stepfour" it's a valid path.
Hint #2: Even in a develpment environment "dp" takes the full public location (mydomain instead of localhost:3000).
Hint #3: I've tried forcing the 'settings.pageview.locationProp' value but page breaks with the error 'Invariant failed: You should not use outside a '.

Any ideas??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.