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

Update to allow for multiple instance of gtag with different datalayer names #6655

Merged
merged 5 commits into from
Oct 10, 2022

Conversation

dwyfrequency
Copy link
Contributor

@dwyfrequency dwyfrequency commented Oct 5, 2022

Update findGtagScriptOnPage to take optional data layer name when finding existing scripts

#6565

@changeset-bot
Copy link

changeset-bot bot commented Oct 5, 2022

🦋 Changeset detected

Latest commit: 93ab539

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/analytics Patch
@firebase/analytics-compat Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 5, 2022

Size Report 1

Affected Products

  • @firebase/analytics

    TypeBase (34ad43c)Merge (0e78ba0)Diff
    browser20.1 kB20.2 kB+59 B (+0.3%)
    esm524.7 kB24.8 kB+59 B (+0.2%)
    main26.0 kB26.1 kB+59 B (+0.2%)
    module20.1 kB20.2 kB+59 B (+0.3%)
  • bundle

    TypeBase (34ad43c)Merge (0e78ba0)Diff
    analytics (logEvent)43.2 kB43.2 kB+21 B (+0.0%)
  • firebase

    TypeBase (34ad43c)Merge (0e78ba0)Diff
    firebase-analytics-compat.js25.8 kB25.8 kB+21 B (+0.1%)
    firebase-analytics.js24.9 kB24.9 kB+21 B (+0.1%)
    firebase-compat.js739 kB739 kB+21 B (+0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/Cc2MxArvpD.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 5, 2022

Size Analysis Report 1

Affected Products

  • @firebase/analytics

    • getAnalytics

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.98 kB10.0 kB+21 B (+0.2%)
      size-with-ext-deps43.1 kB43.2 kB+21 B (+0.0%)
    • initializeAnalytics

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.88 kB9.90 kB+21 B (+0.2%)
      size-with-ext-deps36.0 kB36.1 kB+21 B (+0.1%)
    • isSupported

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.77 kB9.79 kB+21 B (+0.2%)
      size-with-ext-deps35.6 kB35.6 kB+21 B (+0.1%)
    • logEvent

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.63 kB9.65 kB+21 B (+0.2%)
      size-with-ext-deps35.5 kB35.5 kB+21 B (+0.1%)
    • setAnalyticsCollectionEnabled

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.79 kB9.81 kB+21 B (+0.2%)
      size-with-ext-deps35.6 kB35.7 kB+21 B (+0.1%)
    • setConsent

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.76 kB9.78 kB+21 B (+0.2%)
      size-with-ext-deps35.6 kB35.6 kB+21 B (+0.1%)
    • setCurrentScreen

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.87 kB9.89 kB+21 B (+0.2%)
      size-with-ext-deps35.7 kB35.7 kB+21 B (+0.1%)
    • setDefaultEventParameters

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.74 kB9.77 kB+21 B (+0.2%)
      size-with-ext-deps35.6 kB35.6 kB+21 B (+0.1%)
    • setUserId

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.86 kB9.88 kB+21 B (+0.2%)
      size-with-ext-deps35.7 kB35.7 kB+21 B (+0.1%)
    • setUserProperties

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.94 kB9.96 kB+21 B (+0.2%)
      size-with-ext-deps35.8 kB35.8 kB+21 B (+0.1%)
    • settings

      Size

      TypeBase (34ad43c)Merge (0e78ba0)Diff
      size9.75 kB9.77 kB+21 B (+0.2%)
      size-with-ext-deps35.6 kB35.6 kB+21 B (+0.1%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/XE2jErYEa0.html

@dwyfrequency dwyfrequency marked this pull request as ready for review October 6, 2022 15:02
Copy link
Contributor

@hsubox76 hsubox76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Don't forget to add a changeset.

@dwyfrequency
Copy link
Contributor Author

Looks good! Don't forget to add a changeset.

Done!

@dwyfrequency dwyfrequency merged commit 1fbc4c4 into master Oct 10, 2022
@dwyfrequency dwyfrequency deleted the jd-datalayer branch October 10, 2022 18:27
@google-oss-bot google-oss-bot mentioned this pull request Oct 10, 2022
@firebase firebase locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants