with Google Analytics and ClickFunnels?
Emit new event when a fresh or formerly anonymous contact is identified via email address or contact number.
Emit new event when a one-time order gets paid by a customer.
Emit new event when a subscription fee is paid by a customer.
Return report metrics based on a start and end date. See the docs here
Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. See the documentation here
The Google Analytics API unlocks the power of your analytics data, enabling automated access to custom reports, real-time statistics, and user behavior analysis. With it, you can extract actionable insights, push data to other platforms, and tailor your business strategy with precision. Leveraging Pipedream's serverless platform, these capabilities can be seamlessly integrated into workflows that trigger actions in other apps, send alerts, or even feed data warehouses for deeper analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_analytics: {
type: "app",
app: "google_analytics",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_analytics.$auth.oauth_access_token}`,
},
})
},
})
The ClickFunnels API lets you interact programmatically with your ClickFunnels account, giving you control over your funnels, contacts, purchases, and more. With Pipedream, you can automate workflows that respond to a variety of triggers, such as new contacts or purchases. By connecting ClickFunnels with other apps available on Pipedream, you can streamline your sales process, sync data across platforms, and create powerful marketing automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clickfunnels: {
type: "app",
app: "clickfunnels",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.clickfunnels.$auth.subdomain}.myclickfunnels.com/api/v2/teams`,
headers: {
Authorization: `Bearer ${this.clickfunnels.$auth.api_access_token}`,
},
})
},
})