Discussions

Ask a Question
ANSWERED

Any change with Google Analytics 4?

Hi, will Rebrandly change how it processes IP address when Google Analytics 4 becomes standard in 2023? We currently use the API to get the click stream data. Rebrandly removes the IP address but provides other information about the clicker's location, device, OS, platform, etc. What changes can we expect?
ANSWERED

What is the Page Number for end point https://api.rebrandly.com/v1/links

hi support, I am getting very limited data for this API endpoint https://api.rebrandly.com/v1/links. Just wondering what is the page count, page number or page size for this API? Thanks
ANSWERED

Number of clicks returned from API differs from web.

Hey, team - I ran some analysis of our company's link inventory, querying the API. For some of the links, the API returns either zero or thousands of clicks. When I look at the links using the web app, their number of clicks is different and closer to what I would expect. Has anybody else observed this? Am I using the API wrong, or am I missing something? Any hints or pointers are highly appreciated! Best, Chris
ANSWERED

Update recipe for stale/old link

The recipe given to delete links older than a certain amount of time is not optimized as by default it retrieves all links ordered by creation time descending. Which means we start by iterating over link that are valid for nothing. Wouldn't it be wiser to set the corresponding code querystring = urlencode({ "limit": MAX_PAGE_SIZE, "last": lastLink["id"] if lastLink else "", "orderBy": "createdAt", "orderDir": "desc" }) to querystring = urlencode({ "limit": MAX_PAGE_SIZE, "last": lastLink["id"] if lastLink else "", "orderBy": "createdAt", "orderDir": "asc" })
ANSWERED

My Links are not working

My launch is on Monday and I am freaking out because my links are not working. My Speakers are saying that they are being asked to pay for something and another person it takes you to your home page and asks you to get started. After that it wants you t buy the platform. Can you help me please!! summit.healyourhurtingheart.com
ANSWERED

Use API with Mautic

Hi, Mautic application supports URL shorteners. It displays the following text: --- The full URL (including access key) to your url shortener that, when queried, returns a plain text shortened url. For bit.ly users, use `https://api-ssl.bitly.com/v3/shorten?access_token=[ACCESS_TOKEN]&format=txt&longUrl=`, replacing [ACCESS_TOKEN] with your bit.ly access token. --- How can I do the same with Rebrandly? Thanks Alex
ANSWERED

Create multiple links

How can I create a hundred links at the same time, without having to make 1000 requests to the api?
ANSWERED

Node.js Snipped for Axios

Can someone edit the - Node.js - "API for custom short URLs - Code snippet", that I can use it with axios? let request = require("request"); let linkRequest = { destination: "https://www.youtube.com/channel/UCHK4HD0ltu1-I212icLPt3g", domain: { fullName: "rebrand.ly" } //, slashtag: "A_NEW_SLASHTAG" //, title: "Rebrandly YouTube channel" } let requestHeaders = { "Content-Type": "application/json", "apikey": "YOUR_API_KEY", "workspace": "YOUR_WORKSPACE_ID" } request({ uri: "https://api.rebrandly.com/v1/links", method: "POST", body: JSON.stringify(linkRequest), headers: requestHeaders }, (err, response, body) => { let link = JSON.parse(body); console.log(`Long URL was ${link.destination}, short URL is ${link.shortUrl}`); });
ANSWERED

Method to retrieve newly created and updated links

I have developed a method to download the links created by our platform, but it starts at the first link and runs through several thousand links just to find the few that have been updated with new clicks or have been newly created. Is there a method to "resume" scrolling through the list on a regular basis. For example, I run a job every day at 10pm, it can call the api using a combination of last link and sorting to find the newly added and updated (with click counts) records?
ANSWERED

Rebrandly Shorteing blocked in China?

Hello, a created shortend link and the QR code was tested by our colleagues in China. The rules are to guide the user to the android or ios playstore. None of this rules were executed after scanning the QR code. Is there any experience with the Rebrandly Shortener Service in China? Works the solution for users there?