googleanalytics / ga-dev-tools

A showcase of demos and tools built with the various Google Analytics APIs and Libraries.
https://ga-dev-tools.web.app/
Other
1.41k stars 561 forks source link

Link Shortener spawns empty window #1940

Open kdcpelt opened 2 months ago

kdcpelt commented 2 months ago

What page is this happening on https://ga-dev-tools.google/ga4/campaign-url-builder/

Describe the bug When clicking on the "Shorten Link" button, after confirming who is logging in (to Bitly), the resulting window has no new link, no fields to enter the full URL, etc. Rather, it just shows an orange page, that scrolls, centered in the scrolling page is the header for the project title and bug/human icons. Access does not appear to be granted to the bitly account and no other options to complete the task are offered.

To Reproduce Enter all required fields on the form. Beneath the "generated URL" click the orange "Shorten Link" button. In the resulting popup, confirm the user logging into the Bitly account continue... no error message is displayed

Expected behavior I expected to the button to shorten the link and write the shortened link in the field with perhaps some additional instructions.

Unexpected behavior I didn't expect it to access a Bitly account.

Screenshots

Screenshot 2024-07-31 at 1 34 42 PM Screenshot 2024-07-31 at 1 35 03 PM

Desktop (please complete the following information):

Additional Context It may be that Bitly won't allow access because access to UTM codes is a paid feature (new?) and perhaps it is blocking access to do an automated shortening of a URL that contains any UTM codes?

IF Bitly won't do it, will another platform allow it?

UI/UX RECOMMENDATION Not all your users may be developers or savvy enough to understand what the steps are/should be. Make it more clear that the user that they are going to be using a 3rd-party service to do this. The notation about Bitly is very small, light grey (perhaps even too low contrast for accessibility), and not conspicuous enough.

If the error is due to connectivity with Bitly, provide some helpful info for next steps.

If the error is due to the reason mentioned above (e.g., UTM codes/paid feature) then perhaps there is a way to add a simple message such as: "Your Bitly.com account may not permit this action. Please review your account at Bitly.com and if the action is permitted, try again."

emmanuelaudicon commented 2 months ago

im having the same issue