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

Live Preview for *new* entries being tracked by GA #340

Open
steverowling opened this issue May 11, 2018 · 0 comments
Open

Live Preview for *new* entries being tracked by GA #340

steverowling opened this issue May 11, 2018 · 0 comments

Comments

@steverowling
Copy link

Craft CMS 2.6.3008
SEOmatic 1.1.56

A client recently asked me to explain an odd spike in their GA traffic.

The spike was associated with a single URL, which was of the format: admin/entries/channelHandle/new.

It appears that if you create a new entry in a channel and immediately open live preview, before saving the entry first, then SEOmatic doesn't suppress the GA code as it does for all normal Live Preview views. Thus, as the client creates the entry with Live Preview open, dozens of page views are registered with GA.

As soon as an entry is saved, so it actually exists as an entry in Craft, and Live Preview is subsequently opened when editing the entry, then SEOmatic correctly suppresses the GA code as expected.

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

1 participant