Skip to content

Instantly share code, notes, and snippets.

View avelis's full-sized avatar

Andrew Velis avelis

View GitHub Profile
@avelis
avelis / gist:bd8cea804328ff2ab5aaf93200ce3dab
Created April 25, 2023 21:00 — forked from brianr/gist:82ff15b17c839ff14748
Rollbar RQL: Search for occurrences in last 24 hours by url pattern
select *
from item_occurrence
where timestamp >= unix_timestamp() - 24 * 60 * 60
and request.url like '%mydomain.com%'
@avelis
avelis / promoter_segment.md
Created July 2, 2015 20:35
Promoter Segment Integration

Getting Started

Once the Segment library is integrated with your service, toggle Promoter on in your Segment integrations, and add your API Key which you can find in the Promoter menu dropdown under API. Once on that page you will observe the API Key section which contains your actual API key.

The Segment Promoter integration is 100% handled through our servers. Integration with the Segment SDK will be enough for usage with Promoter.

Promoter supports the identify, and track methods. Both will need to be called in order to utlize the full power of Promoter.