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

Add Tips and Tricks for Web Sites #23

Open
winsmith opened this issue Jul 26, 2022 · 0 comments
Open

Add Tips and Tricks for Web Sites #23

winsmith opened this issue Jul 26, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@winsmith
Copy link
Contributor

winsmith commented Jul 26, 2022

If you add this snippet, you can extract things like URL and utm source:

 const params = new URLSearchParams(window.location.search);
  td.push([
    'signal',
    {
      route: window.location.pathname,
      source: params.get('utm_source'),
    },
  ]);

and then filter by pages like so

{ "url": "https://www.fline.dev/remafox-beta1/" }
@winsmith winsmith self-assigned this Jul 26, 2022
@winsmith winsmith added the documentation Improvements or additions to documentation label Jul 26, 2022
@winsmith winsmith reopened this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant