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

Manual initialization for Google Tag Manager #35

Open
srawat-gd opened this issue Jul 19, 2024 · 1 comment
Open

Manual initialization for Google Tag Manager #35

srawat-gd opened this issue Jul 19, 2024 · 1 comment

Comments

@srawat-gd
Copy link

srawat-gd commented Jul 19, 2024

Title

Add support for manual initialisation of Google Tag Manager with custom JSON file location

Description

Currently, our package initialises Google Tag Manager (GTM) automatically, assuming the container file is in the PROJECT_ROOT.
We need to enhance this functionality to support manual initialisation, allowing users to specify a custom location for the GTM container JSON file.

Proposed Changes:

A manual initialisation method for GTM.
Allow users to provide the location of the JSON container file as a parameter.
Update the package to use this custom file location instead of searching in PROJECT_ROOT.

Use Case:

This feature is crucial for using the package within other iOS packages or frameworks. It enables keeping the container file inside the package itself, rather than requiring it to be in the main project's root directory.

@ShivamRawat0l
Copy link

@htcgh Any update for this ticket ?

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

2 participants