We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm creating page_view event and needs to page user agent data.
page_view
from ga4mp import GtagMP ga4_tracker = GtagMP(api_secret=secret_key,measurement_id=google_tracking_id,client_id=client_id) page_view = ga4_tracker.create_new_event(name='page_view') page_view.set_event_param('page_location', 'https://example.io/abcd') page_view.set_event_param('user_agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36')
But it is giving error
Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/ga4mp/event.py", line 22, in set_event_param raise ValueError("Event parameter value cannot exceed 100 characters.") ValueError: Event parameter value cannot exceed 100 characters.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm creating
page_view
event and needs to page user agent data.But it is giving error
The text was updated successfully, but these errors were encountered: