Skip to content

Manual initialization for Google Tag Manager #35

@srawat-gd

Description

@srawat-gd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions